package com.wegis.demo.service;

import com.wegis.demo.entity.Person;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author slc
 * @since 2021-07-24
 */
public interface IPersonService extends IService<Person> {
    Map<String, Object> getPersons();
    Map<String, Object> getPersonById(Integer id);
//    Map<String, Object> getPersonByName(String name);
    Map<String, Object> addPerson(Person person);
    Map<String, Object> deletePersonById(Integer id);

}
